package com.choosefine.base.common.bean

import com.fasterxml.jackson.databind.ObjectMapper
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration

/**
 * Created by 邱鹏 on 2017/8/29.
 */
@Configuration
open class ToolkitBean {
    @Autowired
    lateinit var http: HttpBean//restful api消息转化
    @Autowired
    lateinit var jsonObjectMapper: ObjectMapper//restful api消息转化
    @Bean open fun toolkit(): ToolkitBean {
        return ToolkitBean()
    }
}